package com.sheep.classroompie.repository;

import com.sheep.classroompie.entity.Course;
import com.sheep.classroompie.entity.Student;
import com.sheep.classroompie.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface StudentRepository {
  // 学生登录
  Student login(Student student);
  // 学生注册
  Integer register(Student student);
  //上传头像
  Boolean uploadAvatar(Student student);
  //下载头像
  Boolean downloadAvatar(Student student);
  //修改密码
  void changePassword(Student student);
}
